import java.rmi.Remote; 
import java.rmi.RemoteException; 

public interface CalculadoraIntf extends Remote{
    
    public double soma(double num1, double num2) throws RemoteException;
    public double subtrai(double num1, double num2) throws RemoteException;
    public double multiplica(double num1, double num2) throws RemoteException;
    public double divide(double num1, double num2) throws RemoteException, RemoteMsgEx;
    
}